package com.maslyk.invitation;

import javax.faces.event.PhaseEvent;
import javax.faces.event.PhaseId;
import javax.faces.event.PhaseListener;

public class CustomPhaseListener implements PhaseListener
{
	private static final long serialVersionUID = 1L;
	private PhaseId phase  = null;
	
	public PhaseId getPhaseId()
	{
		return phase;
	}

	public void beforePhase(PhaseEvent e)
	{
		phase = e.getPhaseId();
	}

	public void afterPhase(PhaseEvent e)
	{
		phase = e.getPhaseId();
	}
}
